<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		var arr = [1,2,3,4,5,6,7,8];
//		截取	slice(起始,截止);包含起始位不包含截止
		var str = arr.slice(3,6);
		
		console.log(str)
		
		
	</script>
</html>
